home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
source
/
units
/
ansi.tst
< prev
next >
Wrap
Text File
|
1992-07-04
|
2KB
|
55 lines
PROGRAM TestAvAnsiUnit; { Remember to install ANSI.SYS, or NO FUN ! }
USES Ansi;
VAR
T,U:LONGINT;
PROCEDURE Initier;
BEGIN
Mode80x50; { This Procedure is unstable, it is written in }
{ inline code, and it has benn changed a bit }
{ to function. I'll try to fix this bug, but }
{ it may take some time... }
UseIntense; { Use Intense Backgroundcolors instead of }
{ blinking colors. }
SetBorder(Magenta); { Nice little procedure don't you think? }
SetColor(Yellow,Yellow); { Set Yellow text color and yellow background}
ClearScreen; { It's here the Mode80x50 bug appears from }
{ time to time. (Only half the screen is }
{ cleared). }
END;
{ I think that the BUG disappears after you }
{ hav used the lower half of the screen. What }
{ is wrong is that the Mode80x50 procedure }
{ doesen't tell the system that it has changed }
{ to 80 x 50 display. But hey! Maybe you }
{ don't need this procedure ? }
BEGIN
Initier;
TextColor(LightBlue);
GotoPos(25,24);
WRITE('ANSI UNIT FOR PC-DOS AND TP6.0');
TextColor(Brown);
GotoPos(1,1);
WRITELN('It didn''t take more than one day (12h) to develop this unit...');
WRITELN('The Idea came from all the BBS''s around, they have some good');
WRITELN('games in ANSI graphics don''t they?');
GotoPos(10,40);
WRITE('This product is made ONLY of ANSI Routines and Assembler routines!');
GotoPos(10,41);
WRITE('I have in no way cheated, using UNIT''s as CRT or DOS.');
GotoPos(10,42);
WRITE('I have been tempted though......');
TextColor(Black);
GotoPos(30,50);
WRITE('Well, press RETURN then!');
TextColor(LightRed);
GotoPos(5,10);
WRITE('ONLY Mode80x50, UseIntense, UseBlink and SetBorder is in Assembler!');
SetColor(White,LightRed);
GotoPos(10,30);
WRITE('Give me some help, and I''ll try to make a unit for BBS ANSI too.');
READLN;
END.